package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;

import java.util.List;
import java.util.Map;

public interface OrderService {
    public Result order(Map map) throws Exception;
    public Map findById(Integer id);
    public PageResult findPage(QueryPageBean pageBean);
    public Result add(Map map,Integer[] setmealIds) throws Exception;
    public List<Integer> findSetmealByOrderId(Integer id);
    public void delete(Integer id);
    public Map findByOrderId(Integer orderId);
    public void edit(Map map,Integer id);
    public Integer editOrderStatus(Integer id) throws Exception;
}
